package com.erp.programmer.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author czh
 * @since 2021-05-23
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品唯一标识ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 商品品牌
     */
    private String brand;

    /**
     * 商品纸种
     */
    private String paperGrade;

    /**
     * 商品级别
     */
    private String level;

    /**
     * 商品克重
     */
    private String gram;

    /**
     * 规格
     */
    private String scale;

    /**
     * 商品单位
     */
    private String unit;

    /**
     * 商品单价
     */
    private BigDecimal price;

    public Product() {
    }

    public Product(String id, String brand, String paperGrade, String level, String gram, String scale, String unit, BigDecimal price) {
        this.id = id;
        this.brand = brand;
        this.paperGrade = paperGrade;
        this.level = level;
        this.gram = gram;
        this.scale = scale;
        this.unit = unit;
        this.price = price;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getPaperGrade() {
        return paperGrade;
    }

    public void setPaperGrade(String paperGrade) {
        this.paperGrade = paperGrade;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getGram() {
        return gram;
    }

    public void setGram(String gram) {
        this.gram = gram;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
